package demo.builder;

public class Intel implements 电脑工厂 {
    private 电脑 computer = new 电脑();
    @Override
    public void buildCPU() {
        computer.set处理器("i7");
    }

    @Override
    public void buildMontherboar() {
        computer.set主板("微星");
    }

    @Override
    public void buildRam() {
        computer.set内存("海盗船");
    }

    @Override
    public void buildCard() {
        computer.set显卡("七彩虹");
    }

    @Override
    public void buildPower() {
        computer.set电源("长城");
    }

    public 电脑 getComputer() {
        return computer;
    }
}
